from taobao_dp import DpTaobao
from  title_clean import TitleClean

if __name__ == '__main__':
    home_page = 'https://www.taobao.com'
    pro_name = input('请输入商品名称：')
    page_name = int(input('请输入页数：'))

    dp = DpTaobao(home_page, pro_name, page_name)
    dp.main()
    file_name = pro_name+'.csv'
    tc = TitleClean(file_name)
    tc.clean()

